Shortest paths in almost acyclic graphs
نویسنده
چکیده
This paper presents an algorithm for the shortest-path problem on a directed graph having arbitrary arc weights. One feature of the algorithm is its ability to exploit a certain type of structure. Two examples of this feature are highlighted. The rst example is when the given graph is “almost” acyclic in the sense that there exists a small subset T of nodes, the deletion of which yields an acyclic graph. In this case, a version of the algorithm solves the shortest-path problem in O(|T |m) time; this bound is at least as good as the O(mn) time bound of Bellman (Quart. Appl. Math. 16 (1958) 87–90). The second example is when the weight vector is “almost” nonnegative in the sense that only a small subset F of arcs of the given graph have negative weight. In this case, the algorithm runs in O(min{|F |; n}(m + n log n)) time. c © 2000 Elsevier Science B.V. All rights reserved.
منابع مشابه
Improved algorithms for replacement paths problems in restricted graphs
We present near-optimal algorithms for two problems related to finding the replacement paths for edges with respect to shortest paths in sparse graphs. The problems essentially study how the shortest paths change as edges on the path fail, one at a time. Our technique improves the existing bounds for these problems on directed acyclic graphs, planar graphs, and non-planar integer-edge-weighted ...
متن کاملReplacement Paths via Row Minima of Concise Matrices
Matrix M is k-concise if the finite entries of each column of M consist of k or fewer intervals of identical numbers. We give an O(n + m)-time algorithm to compute the row minima of any O(1)-concise n×m matrix. Our algorithm yields the first O(n+m)-time reductions from the replacement-paths problem on an n-node m-edge undirected graph (respectively, directed acyclic graph) to the single-source ...
متن کاملThe Next-to-Shortest Path in Undirected Graphs with Nonnegative Weights
Given an edge-weighted undirected graph and two vertices s and t, the next-to-shortest path problem is to find an st-path whose length is minimum among all st-paths of lengths strictly larger than the shortest path length. The problem is shown to be polynomially solvable if all edge weights are positive, while the complexity status for the nonnegative weight case was open. In this paper we show...
متن کاملEfficient Algorithms for Solving Shortest Paths on Nearly Acyclic Directed Graphs
This paper presents new algorithms for computing shortest paths in a nearly acyclic directed graph G = (V, E). The new algorithms improve on the worst-case running time of previous algorithms. Such algorithms use the concept of a 1-dominator set. A 1-dominator set divides the graph into a unique collection of acyclic subgraphs, where each acyclic subgraph is dominated by a single associated tri...
متن کاملThe K Shortest Paths Problem with Application to Routing
We present a simple algorithm for explicitly computing all k shortest paths bounded by length L from a fixed source to a target in O(m + kL) and O(mlogm + kL) time for unweighted and weighted directed graphs with m edges respectively. For many graphs, this outperforms existing algorithms by exploiting the fact that real world networks have short average path length. Consequently, we would like ...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- Oper. Res. Lett.
دوره 27 شماره
صفحات -
تاریخ انتشار 2000